Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36743

Re: How to parse an array?

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to parse an array?
Date 2017-06-27 20:05 +0000
Organization A noiseless patient Spider
Message-ID <oiudpv$imf$1@dont-email.me> (permalink)
References (1 earlier) <English-20170620202702@ram.dialup.fu-berlin.de> <er6rmeFbgtsU1@mid.individual.net> <1758ec6f-966d-44c2-bdb9-03e5d4b61619@googlegroups.com> <967dfbc4-0e58-4867-b08c-67ff910df3fe@googlegroups.com> <642c0caf-de21-4add-8f61-8b68e94b1081@googlegroups.com>

Show all headers | View raw


On Tue, 27 Jun 2017 12:50:15 -0700, Eric Douglas wrote:

> On Tuesday, June 27, 2017 at 3:30:08 PM UTC-4, lewb...@gmail.com wrote:
>> What do you mean by "efficient"? Is it "efficient" if you take six
>> months to write a program that runs 0.000001% faster? What if the
>> changes to make it "efficient" require 80 hours per month to maintain?
>> Is that "efficient"?
>> 
>> 
> Efficient means I have a searchable JTable using Lucene to index, tied
> to a KeyListener on a JTextComponent.  If I type a key it instantly
> updates the view with matching rows.  If I try to sort any of the
> columns I'm just going through DefaultRowSorter which currently adds
> about a 3 second delay on every keypress (on my machine, other machines
> would be slower), would like to see that stay as close to instant as
> possible.
> 
> Since our tables are normally smaller and searchable tables don't
> necessarily have to be sortable, I'm just leaving the default sort logic
> in for now, as you say it's not worth my time right now.  A 3 second
> delay per keypress is worth a few hours of developer time if end users
> do want more rows in at one time and you have a lot of users waiting 3
> seconds at a time many times per day.

Are you using the DefaultTable or have you extended AbstractTableModel 
and if the latter, what are you using as the underlying table storage 
method? 

Whats a 'usual' size in terms of row and column counts?
  

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-20 12:18 -0700
  Re: How to parse an array? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-06-20 14:49 -0500
  Re: How to parse an array? Arne Vajhøj <arne@vajhoej.dk> - 2017-06-20 16:15 -0400
  Re: How to parse an array? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-20 16:23 -0400
  Re: How to parse an array? Robert Klemme <shortcutter@googlemail.com> - 2017-06-24 12:02 +0200
    Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-26 05:10 -0700
      Re: How to parse an array? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-26 09:36 -0400
        Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-26 07:47 -0700
          Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-26 15:47 +0000
        Re: How to parse an array? Arne Vajhøj <arne@vajhoej.dk> - 2017-06-26 20:37 -0400
      Re: How to parse an array? lewbloch@gmail.com - 2017-06-27 12:29 -0700
        Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-27 12:50 -0700
          Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-27 20:05 +0000
            Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-27 14:01 -0700
              Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-27 22:34 +0000
                Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-28 05:10 -0700
                Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-28 19:09 +0000
                Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-28 13:02 -0700
                Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-28 21:55 +0000
                Re: How to parse an array? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 06:10 -0700
                Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-30 16:52 +0000
  Re: How to parse an array? Jerry Stuckle <jstucklex@attglobal.net> - 2017-06-24 16:34 -0400
    Re: How to parse an array? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-24 22:42 +0000
      Re: How to parse an array? Jerry Stuckle <jstucklex@attglobal.net> - 2017-06-24 20:05 -0400
      Re: How to parse an array? Robert Klemme <shortcutter@googlemail.com> - 2017-06-25 12:20 +0200

csiph-web