PorkStudios / PorkLib

Fast, lightweight libraries for Java. Note: this is very much a work-in-progress, documentation is spotty and the API is changing constantly!
https://daporkchop.net
Other
31 stars 5 forks source link

Native libraries #34

Closed DaMatrix closed 4 years ago

DaMatrix commented 4 years ago

In order to squeeze more performance out of a lot of things, I should start using native code instead of trying to implement everything in java. With this PR I'll be refactoring a lot of performance hotspots to work using native implementations rather than pure java implementations.

DaMatrix commented 4 years ago

update to previous commit message: native libs do run correctly on windows!

(obviously they don't compile on windows, since it's a horrible system and doesn't work with anything)

DaMatrix commented 4 years ago

i'm pretty happy with how this turned out, although currently it only has implementations for zlib. i'll add other things that need to be implemented natively on separate branches when i rewrite their modules.