Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: d4cc5c2300bd22f16cab6b5dce18004f0bfda45d
      
https://github.com/parrot/parrot/commit/d4cc5c2300bd22f16cab6b5dce18004f0bfda45d
  Author: Reini Urban <[email protected]>
  Date:   2014-11-22 (Sat, 22 Nov 2014)

  Changed paths:
    M ChangeLog
    M src/ops/core_ops.c
    M src/ops/io.ops

  Log Message:
  -----------
  [GH #828] Optimize print_n/i and say_n/i

print_n/nc/i/ic and the say variants go through a full Parrot_io_printf with
3 va_start/va_end scenarios and a custom format string parser,
and through char* -> STRING->char* conversion until the fixed
FLOATVAL_FMT or INTVAL_FMT printf is done.
Just to print a single int or number.

This also lost precision for non-double floatval's - if cast to (double).
Now avoided.


_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits

Reply via email to