Skip to content

Conversation

undingen
Copy link
Contributor

  • add the _locale module
  • add the cPickle module
    the module is much faster than the python implementation (in a small benchmark by about 4x)
    But I had to change the code a little bit because of our GC and more importantly because some of our types have different names etc...
    I also noticed that we failed to to set capifunc.__module__ in a lot of cases which made pickle error
  • together this makes us run 7 more tests :-)

The static variables should be fine because this is compiled as shared object which we the GC will automatically scan.
@undingen undingen force-pushed the locale branch 3 times, most recently from 148c0b4 to be09856 Compare February 12, 2016 13:58
the module is much faster than the python implementation
But I had to change the code a little bit because of our GC and more importantly because some of our types have different names etc...
I also noticed that we failed to to set capifunc.__module__ in a lot of cases which made pickle error
@undingen undingen closed this Feb 12, 2016
@undingen undingen reopened this Feb 12, 2016
@undingen undingen changed the title [WIP] add the _locale module add the _locale and cPickle modules Feb 12, 2016
kmod added a commit that referenced this pull request Feb 13, 2016
add the _locale and cPickle modules
@kmod kmod merged commit 0ae4634 into pyston:master Feb 13, 2016
@kmod
Copy link
Collaborator

kmod commented Feb 13, 2016

nice!

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

Successfully merging this pull request may close these issues.

2 participants