bed52fac0d
This replaces code that generates lots of temporary Int64 objects with code that works almost entirely usings SMI values in local variables. Printing generates numbers several digits at a time. Speedup is 10x for parsing and 100x for printing on dart2js and a little over 5x each on the VM. Printing produces hex digits in the same case as int.toString. R=cbracken@google.com Review URL: https://codereview.chromium.org//23441004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26760 260f80e4-7a28-3924-810f-c04153c831b5
fixnum
A fixed-size integer library for Dart.
The fixnum package provides data types for signed 32- and 64-bit integers. The integer implementations in this library are designed to work identically whether executed on the Dart VM or compiled to JavaScript.
Installing
Use pub to install this package. Add the following
to your pubspec.yaml file:
dependencies:
fixnum: any
Then run pub install.
For more information, see the fixnum package on pub.dartlang.org.