doc/README: add note re go1.26 performance

This commit is contained in:
mappu
2025-12-17 17:44:49 +13:00
parent de0890bdd8
commit 426c729485

View File

@@ -66,6 +66,8 @@ Yes. You must also meet your Qt license obligations: either use Qt dynamically-l
The first time MIQT is used, your `go build` would take [about 10 minutes](https://github.com/mappu/miqt/discussions/65). But after that, any `go build` is very fast.
Go 1.26 is significantly faster.
If you are compiling your app within a Dockerfile, you could cache the build step by running `go install github.com/mappu/miqt/qt`.
If you are compiling your app with a one-shot `docker run` command, the compile speed can be improved if you also bind-mount the Docker container's `GOCACHE` directory: `-v $(pwd)/container-build-cache:/root/.cache/go-build`. The `miqt-docker` helper app does this automatically.