Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update integrated dtoa.c with improved multi-threaded performance #55

Closed
wants to merge 5 commits into from

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