Skip to content

Conversation

@exjesper
Copy link

This PR adds new dtoa.c https://netlib.sandia.gov/fp/dtoa.c that has additional options to mitigate lock contention multi-threaded applications.

@agentzh
Copy link
Member

agentzh commented Jan 30, 2020

My hunch is that 3rd-party allocators should be enabled in an noninvasive way. There are many choices anyway. It makes our code cleaner.

@cleaton
Copy link

cleaton commented Feb 2, 2020

@agentzh yeah, I would prefer to use the built in libc solution but I haven't found a nice way to enable ecma-262 number formatting ( #54 ) while using libc. The best I've got it is to split between using %f or %g based on a threshold, but I'm not convinced %g would do correctly in all cases even with a threshold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants