negligible's Profile User Rating: -----

Reputation: 62 Whiz
Group:
Active Members
Active Posts:
302 (0.24 per day)
Joined:
02-December 10
Profile Views:
4,196
Last Active:
User is offline Aug 29 2012 02:21 AM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Honda
Dream Kudos:
0

Latest Visitors

Icon   negligible has not set their status

Posts I've Made

  1. In Topic: assigning values within structures

    Posted 2 Jul 2012

    View PostSkydiver, on 02 July 2012 - 03:12 PM, said:

    View Postnegligible, on 02 July 2012 - 05:23 AM, said:

    I never use struct's with hardcoded values inside.


    Do you mean to say that you've rolled your our DateTime? I ask because the System.DateTime structure has hardcoded values inside it.
    I never code struct's with hardcodes values inside.

    I don't use them much at all to be honest, as I was told to avoid them unless you really need them as they add unnecessary complexity.
  2. In Topic: assigning values within structures

    Posted 2 Jul 2012

    I think you should be using a class with a read only field (getter without a setter) if that's your intention.

    I never use struct's with hardcoded values inside.

    http://www.dotnetper...ct-versus-class
  3. In Topic: Is parallelism really faster?

    Posted 27 Jun 2012

    Having multiple cores means you have to wait less time between each operation.

    Think of the route to your CPU as a pipe of a fixed width and data must more through this queue in single file, one item and a time creating a queue.
    So the data behind, must wait for the data in front to be processed before it's its turn.

    Adding a second processor means that there are now two units which can perform the processing and there are two queues, so data can move through faster.

    Also, most of the time when you have a "dual core" this doesn't mean you have two CPUs. It means you have "hyper-threading" multiple threads (pipes, in my analogy) going to a single processor.
    Which increases the amount of queues, again, bringing about a performance gain although to a less amount as you don't have twice the processing power.

    This is not a 50% increase due to limitations from other hardware, and the inability of a lot of software to utilise multi-core processing correctly. Especially with hyper-threading, as programs that aren't designed to work with it only see the pipes and treat it exactly the same as two CPUs (Which it isn't).

    Also, GHz isn't a measurement of processor performance - a faster clock speed != faster CPU. Things like the CPU architecture make so much difference.

    Quote

    duel code at 4GHZ would be better than a 16core at 2GHZ right? I'm confused.
    In this example the benefit the 16 core computer would have is it would perform this same operation in a similar speed, assumption as it depends on a lot, the real difference would be it wouldn't tax this system anywhere near as much.
    So, for example, you could perform 8 operations simultaneously in the same time it would take for the dual-core to perform 1.
  4. In Topic: [Problem] Custom Tooltip properties not working

    Posted 25 Jun 2012

    I think you've just disabled the feature that was displaying an effect the problem was causing, as I can't really see how having Visual Styles enabled could cause this.

    Visual Styles are the themes for Windows, so having them enabled basically means the window colours and effects are set by the users Windows Theme choice.

    ...If it seems to all work though, I guess it's not important.
  5. In Topic: Binding List<DataRow> to DataGridView

    Posted 23 Jun 2012

    Please post the code you are having trouble with.

    :code:

My Information

Member Title:
D.I.C Regular
Age:
26 years old
Birthday:
December 30, 1987
Gender:
Location:
London
Interests:
Motorbikes, BMX, Cycling, Airsoft, 40K
Years Programming:
1
Programming Languages:
VB, C#, ASP

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    modi123_1 Icon

    25 Jan 2012 - 10:50
    Yes, yes it is.
Page 1 of 1