Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Re: Terminal theme tool – a workaround for lack of 24-bit color in Zsh?
- X-seq: zsh-workers 43833
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- Subject: Re: Re: Terminal theme tool – a workaround for lack of 24-bit color in Zsh?
- Date: Mon, 19 Nov 2018 09:29:33 +0100
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1542616178; bh=e8UceNtl3PHAjoO4l9Svgr3y55z22fOQGHFf5c3u6cM=; h=From:References:To:Subject:Date:From:Subject; b=A/WooO8JIzkMG5TF5sXGViwTThO1KB9pP/4VbjKu6b4DpQoHdIJyApRv2iKsXKcIJD5sHvcAY/qgyZXMqI1wn624jlrUBOyA4DrLf5scN276b1U/1/7om88b+GhveMdPBmQn8Lr/IkGN5cCWNk1yQCsrp+qeI0f1gqtzBUfzC1qz4nN75VNgBylQKFeLAQOXGfeUjwZ4CK+x/UGSvbhmbIFdfyay10mVwZfx+PCGXmA/1kV9v8qCHb+dbF7r8716P4vP5qX5WEJmhbvOYj10dIdEztGdYZ/G+Akju8a7X7SbMFUY/iddRNnpoJq+0J/79mMHxHB3GF3IZwu4ia4OBw==
- In-reply-to: <0B27AD49-061D-4A49-BE6C-85F601AAA067@kba.biglobe.ne.jp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCEmTTMRR0P3kx9ktpLDBYqJ+MRsE77UMLFjonEZAixfA@mail.gmail.com> <58111-1540942908.680582@SXAw.BXd_.-x5N> <CGME20181115123621epcas4p154967be4f87a5221c5012b4caa1cd732@epcas4p1.samsung.com> <B2AC3BAB-4105-4C49-BE8C-55DA32F94DE7@kba.biglobe.ne.jp> <1542285877.4637.3.camel@samsung.com> <0B27AD49-061D-4A49-BE6C-85F601AAA067@kba.biglobe.ne.jp>
On 16 Nov, Jun T wrote:
> Is it OK to replace all floats by doubles?
It should be. Thanks.
Either this or putting f at the end of all the literals to force them to
be float should be fine.
I was initially unsure whether I'd need to be keeping a cache of
struct cielabs. For 256 triples, float over double would be a
memory saving. In practice it was quick enough not to warrant a
cache. On most modern hardware, there's little to no performance
difference between float and double. It may make a difference on
the sort of old hardware where it actually matters like something that
only does soft-float. My one remaining device in that category died
recently.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author