From: "fche at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/2051] Use _stp_map_sortn(), via iteration-limited foreach
Date: Tue, 13 Dec 2005 21:38:00 -0000 [thread overview]
Message-ID: <20051213212641.2575.qmail@sourceware.org> (raw)
In-Reply-To: <20051213211627.2051.hunt@redhat.com>
------- Additional Comments From fche at redhat dot com 2005-12-13 21:26 -------
This naturally ties in to iteration-limited array iteration. To express this in
the language, one way is to extend the grammar in a way reminiscent of SQL:
foreach ([i1,i2] in ray limit N) {
}
where N is a numeric expression evaluated at the beginning, and doesn't need to
be a literal. The sorting +/- directives would stay as/where they are with
current rules.
How does the runtime sortn compare with sort for N approaching the map size?
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Priority|P3 |P2
Summary|Use _stp_map_sortn() |Use _stp_map_sortn(), via
| |iteration-limited foreach
http://sourceware.org/bugzilla/show_bug.cgi?id=2051
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2005-12-13 21:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 21:26 [Bug translator/2051] New: Use _stp_map_sortn() hunt at redhat dot com
2005-12-13 21:38 ` fche at redhat dot com [this message]
2005-12-14 2:22 ` [Bug translator/2051] Use _stp_map_sortn(), via iteration-limited foreach hunt at redhat dot com
2005-12-14 2:25 ` weikong at redflag-linux dot com
[not found] ` <20051214022248.15955.qmail@sourceware.org>
2005-12-14 17:08 ` sorting Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051213212641.2575.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).