Commit Graph

7 Commits

Author SHA1 Message Date
Erik Svedäng
470f0f827d
fix: Unify aupdate and aupdate! with other update functions (#1220)
* chore: Re-format Haskell code

* fix: Unify aupdate and aupdate! with other update functions

* fix: Re-add comment

* fix: Also make StaticArray.aupdate! adhere to the normal update signature

* fix: Failing test
2021-05-25 12:11:31 +02:00
Tim Dévé
4971be73f4 Moves scripts in scripts folder 2020-11-09 10:51:11 +00:00
hellerve
9848e8fb34 multiple fixes:
- don’t do function copying in benchmarking
- fix the array_update benchmark
- add Filepath.file-from-path
- add tests for the `Filepath` module
- reformat a lot of documentation
2019-02-15 14:48:49 +01:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
a9fd73ab2a Load 'Debug.carp' by default. 2018-03-13 09:43:08 +01:00
Erik Svedäng
a83d343a98 Optimized 'Array.subarray', 3.90575s -> 25.046ms for taking the first half of an array of 10k ints. 2018-03-11 14:30:38 +01:00
Erik Svedäng
f3b55e7937 Optimized Array.aupdate from 5.93691s to 2.75493s for array of 1000000 ints. 2018-03-11 13:56:07 +01:00