From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:34; helo=resqmta-ch2-02v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 2509D77893 for ; Wed, 14 Feb 2018 06:24:16 -0800 (PST) Received: from resomta-ch2-03v.sys.comcast.net ([69.252.207.99]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id lxyze7cH2IWC6lxzdeeKah; Wed, 14 Feb 2018 14:25:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1518618305; bh=qk9ILp35DyQZ6Zbc906qAcLCS34B2j7+ft8kCqpLAeQ=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=iCj9ViQUFX5eWbTYOS8Fgms6d/H5isOOuNwRgxMJGD09HpyKUJVcx7Lm4PLS4QNWZ aqpHrORkZzFuPbeV9+VsqqpkzpJJ5jEvv9t+jQ+2yzDAqh7TcQupbHQomVp+LW5zh2 8zQ8CDfebMLVzi15x0S8t/TRDID4kzGTrt+atit81+r3f49BK5ed8dosHfbQ0tQMxp 1ryujPvjSJGyypgKJPJANgNJDBf/Pb9qshtw0MXyDqtZRkdr27rTct+qN/GRwes8mj WYgiu106a4gofgytScIDnLDG+zLD0Jr1IUE9pV0WdwMlcBap4eMZGySRfQq8FnqKLf fa1sog52TQHMg== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-03v.sys.comcast.net with SMTP id lxzceC6JiaPMUlxzcedmZO; Wed, 14 Feb 2018 14:25:04 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.1 Date: Wed, 14 Feb 2018 09:25:04 -0500 Message-ID: <20180114092504.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-404437 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfPkopdLnlenVvwxHOSfyl+ve9UTZN+31bo/X6/sAt1Og1kpfoXFDTD8U1tg0wV0b+RYSqDMLdH54FJedoCoXr/rUyq6Tkxl4AiJLiYR6R6QOdNc8VJ3E zmaenWc1JXGNYa6p3Zem/1Qy4fUCj2/u+BSZh4SY4lL9OOlisHUmCEct Subject: [Edbrowse-dev] It's better, but... X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 14:24:17 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-404437 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable So now I'm using my own css parser and querySelectorAll, and it's = better, maybe an order of magnitude faster, and less buggy, but, stackoverflow still takes almost 2 minutes to browse. I keep going back to the fact that 99.9% of the time we don't need this = stuff, maybe we never do. Even the acid0 test that started all this doesn't need this stuff. it = calls getComputedStyle and tests for that. That's a one time computation of the css elements on one node. So it makes me wonder if I'm missing the point. Sometimes I just program along because it's fun, and a distraction from = the worries in my life, of which there are many, but that kind of head-down programming can miss the point. Remember what I did with frames? I don't expand a frame unless you need it. A getter sits on top of frame and if you access frame.contentDocument = it then expands the frame. Could I do something like that with the various style objects? If you never access them, which js hardly ever does, then I don't have = to do this at all, and if and when you do, I figure it out for that particular node. This is harder to do than it was with frames, because you can create = style objects and they're suppose to be objects, not getters, and well just trust me = it's not as easy, but still might be doable, and that might be the right answer. Karl Dahlke --nextpart-eb-404437--