-
Notifications
You must be signed in to change notification settings - Fork 570
Comparing changes
Open a pull request
base repository: purescript/purescript
base: master
head repository: erlscripten/purescript
compare: erlscripten-master
- 18 commits
- 69 files changed
- 6 contributors
Commits on May 23, 2020
-
[purs ide] Updates the cache-db.json file on rebuilds (#3789)
* generalizes and extracts CacheDb accessors from Make This is so they can be used from within the IDE as well, which doesn't run in Make * overwrites ContentHashes and Timestamps for rebuilt modules * removes a whole lot of "Christoph didn't know what he was doing" * reorganizes the cache info building * normalises filepaths before inserting them into the Cache * normalise file paths when rebuilding from the IDE * extracts the logic that updates the Cache * inlines function that I didn't up using in the IDE code * cleaner diff * more simplifications * Update src/Language/PureScript/Make/Cache.hs
Configuration menu - View commit details
-
Copy full SHA for 04a1a03 - Browse repository at this point
Copy the full SHA 04a1a03View commit details -
[purs ide] Tracks the cache-db.json timestamp (#3799)
* [purs ide] Tracks the cache-db.json timestamp This allows us to trigger a full reload when someone other than the IDE invoked the compiler * fixes tests * [purs ide] removes editor mode flag and the file watcher The editor mode functionality is the default now, and we're checking the cache-db.json timestamp to invalidate our externs store instead. This means we can get rid of the flaky file watcher * Formats the Ide.Types module into how I'd write Haskell today makes the formatting consistent within this file at least
Configuration menu - View commit details
-
Copy full SHA for 5d41145 - Browse repository at this point
Copy the full SHA 5d41145View commit details -
Binary encoding for externs (#3841)
This commit changes the encoding for externs from JSON to CBOR. We're using the serialise library to derive instances for all the relevant data types. By doing this we're getting significant speedups in IDE startup time, but also in the normal compiler pipeline. The performance measurements in this PR measure how long it takes to load the fully built pscid project and populate the IDE caches. It's dominated by the time it takes to deserialise the externs files, and drops from 3.5s to 0.55s. Memory allocations drop from 8,460,187,856 bytes to 1,649,605,704 bytes.
Configuration menu - View commit details
-
Copy full SHA for e857bfe - Browse repository at this point
Copy the full SHA e857bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d60f2d5 - Browse repository at this point
Copy the full SHA d60f2d5View commit details -
Represents ModuleNames as a single Text (#3843)
* Represents ModuleNames as a single Text The hierarchy `[ProperName]` suggests doesn't actually exist except for the `Prim.` namespace. The compiler compares module names for equality and ordering all over the place though, so we should pick a representation suitable for that. * preserve CoreFn encoding
Configuration menu - View commit details
-
Copy full SHA for f095fbe - Browse repository at this point
Copy the full SHA f095fbeView commit details -
[purs ide] Extracts documentation comments for type classes (#3856)
* [purs ide] Extracts documentation comments for type classes I had assumed we were already doing this? Maybe something about the Name structure changed. * [purs ide] Extracts documentation comments for type class members
Configuration menu - View commit details
-
Copy full SHA for 11caa66 - Browse repository at this point
Copy the full SHA 11caa66View commit details -
Fix CoreFn FromJSON version parsing and add test (#3877)
* Fix CoreFn version parsing and add test * Move parseVersion' to CoreFn.FromJSON module
Configuration menu - View commit details
-
Copy full SHA for 47eebec - Browse repository at this point
Copy the full SHA 47eebecView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab2fceb - Browse repository at this point
Copy the full SHA ab2fcebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 896228b - Browse repository at this point
Copy the full SHA 896228bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0077b9e - Browse repository at this point
Copy the full SHA 0077b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cad73e - Browse repository at this point
Copy the full SHA 9cad73eView commit details
Commits on Jan 23, 2021
-
Support TCO for functions with tail-recursive inner functions
This commit adds support for optimizing functions that contain local functions which call the outer function in tail position, as long as those functions themselves are only called from tail position, either in the outer function or in other such local functions. This enables hand-written mutually-tail-recursive function groups to be optimized, but more critically, it also means that case guards which desugar to use local functions don't break TCO. fixup! Support TCO for functions with tail-recursive inner functions fixup! Support TCO for functions with tail-recursive inner functions fixup! Support TCO for functions with tail-recursive inner functions
Configuration menu - View commit details
-
Copy full SHA for 32bac2e - Browse repository at this point
Copy the full SHA 32bac2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4309fe1 - Browse repository at this point
Copy the full SHA 4309fe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 941d9eb - Browse repository at this point
Copy the full SHA 941d9ebView commit details
Commits on Feb 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fdfaa7c - Browse repository at this point
Copy the full SHA fdfaa7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dfe129 - Browse repository at this point
Copy the full SHA 5dfe129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 338cdde - Browse repository at this point
Copy the full SHA 338cddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fed89cc - Browse repository at this point
Copy the full SHA fed89ccView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...erlscripten-master