Re:Emacs-ng: Emacs with Deno runtime and TypeScript
by eddieh on Tuesday March 16, 2021 @01:45AM
(#26473439)
I don’t think I’ve seen BigInt in the wild Wild West of JS at all, so that’s probably true that most folks are not aware of it.
I wonder if there’s some room for improvement since using GMP is pretty standard for most languages.
Edit: forgot to link to a BigInt comparison in major language implementations http://www.wilfred.me.uk/blog/2014/10/20/the-fastest-bigint-...
Granted, this is also true of fixednum in common lisp. At least "biting you" with that should only be performance. (I can't think of many other ways for that one to get you.)
Edit: I should further ack that "getting around" it is as simple as adding "n" to one of the constants. So, it is nicely done.