Commit Graph

10 Commits

Author SHA1 Message Date
narimiran
34d0be2ec1 [backport] run nimpretty on os-related stuff 2019-09-30 13:58:15 +02:00
Araq
5abe880469 last stdlib cleanups 2019-09-21 06:43:37 +02:00
Araq
c94647aeca styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error 2019-07-10 12:42:41 +02:00
LemonBoy
1fe949b9d5 Make the swap procs safe for unaligned input ptrs (#9210)
* Make the swap procs safe for unaligned input ptrs

The copy to a temporary local variable is often elided by a sufficiently
smart compiler when it can prove the input pointer is aligned.

Refs #9206

* Explain why copyMem is used
2018-10-18 14:30:31 +02:00
Parashurama
d7778b5e8b optimize byte-swapping in endians.nim
add support for GCC, CLANG, ICC & VCC builtins for faster byte-swapping.
should compile to single assembly instruction ie BSWAP or equivalent.
2017-01-05 15:13:57 +01:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Billingsly Wetherfordshire
b3057be2c9 Update endians.nim
adds swapEndian16 function
2013-12-23 11:52:11 -06:00
Araq
07b355bea4 better opengl wrapper; oids and endians modules documented 2012-04-04 21:26:23 +02:00
Araq
a4a99ae997 added libsvm wrapper 2012-04-04 16:01:28 +02:00