Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(Fwd) Re: [PATCH] db/gdbm rewrite
- X-seq: zsh-workers 40574
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: (Fwd) Re: [PATCH] db/gdbm rewrite
- Date: Sat, 18 Feb 2017 16:43:13 -0800
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version; bh=kyaaUfUeRGjwQuqn1DK/bHw2J49BRIOXduJO5Iywg4I=; b=U4KEDSTDcMCDJmG922u4ArrcTxZnuE+fPLh70vUOF5hl2CS69dvkdUVlMyiRqs8uxw +tr/kqt2m5OtdUftI0ve6HpgGDKu07M6oRwm3HB2juHk5MNyb4jKuVjzDBhbKbiVe8pf RyCJTOxKbKOMknbcGqLhmUZAYP/npaj5KA42SbxvJdX8cb+j6ysZhtpEZgdSP2lGw+31 qkTbk46qcov64gGx4ggJ99mu0xgorja7SXQtq+kifCHT3tJcYi3wZLjJ6E3tBYKfha65 N571RueXk58+DO6/egzAo5RuBlgEFiUwQMGjOftpk02zoWotPrxH//ReySsPHe8W3wOw KK2A==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
So ... I wrote the following a few days ago and didn't remember to use my
own gmail-block workaround, so it never made it to the list. Still, it
seems to remain relevant to the latest patches.
On Feb 14, 4:20am, Sebastian Gniazdowski wrote:
}
} -- hashtable is filled normally, initially with ~PM_UPTODATE
} -- Param "dereference" detects ~PM_UPTODATE, uses database, sets u.str,
} sets PM_UPTODATE
This is not going to provide equivlent behavior, is it? If the database
is being read by zsh and updated by some other process, how does zsh know
that it needs to re-fetch what has now become a cached value?
This PM_UPTODATE flag also points out something that I've sort of had
percolating for a while -- we need a flag bit or two reserved for use
by modules. (A counter-argument is that we're all out of flag bits.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author